from rest_framework import viewsets

from apps.user.models import UserModel
from apps.user.serializers import UserSerializer


class UserViewSet(viewsets.ModelViewSet):
    queryset = UserModel.objects.all()
    serializer_class = UserSerializer

# todo 用户登录/退出登录
